package com.example.demo.servcie;

import com.example.demo.utils.Result;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * 导入数据
 *
 * @author Liunh
 */
public interface DataImportService {

    /**
     * 导入数据
     *
     * @param file
     * @return
     */
    Result<String> importData(Integer userId, String batchNo, MultipartFile file, HttpServletResponse response);

}
